package android.slc.user.ui.user.adapter

import android.slc.extras.user.entity.UserInfo
import android.slc.user.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder

/**
 * @author slc
 * @date 2020-08-24 16:18
 */
class UserInfoBrowseAdapter(data: MutableList<UserInfo>) :
    BaseQuickAdapter<UserInfo, BaseViewHolder>(R.layout.user_item_user_info_browse, data),
    LoadMoreModule {

    private val userInfoBrowserProvider = UserInfoBrowserProvider()

    override fun convert(holder: BaseViewHolder, item: UserInfo) {
        userInfoBrowserProvider.convert(holder, item)
    }
}